home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / OOP_Course / Examples / DragDemo_1.1 / DiagramCell.h < prev    next >
Text File  |  1992-12-19  |  344b  |  17 lines

  1. #import <appkit/appkit.h>  //Standard for 3.0, inefficient for 2.1.
  2.  
  3. @interface DiagramCell:Object
  4.  
  5. {
  6.     NXRect frameRect;
  7.     NXImage *image;
  8. }
  9.     
  10. - setImage:(NXImage *)anImage;
  11. - getFrame:(NXRect *)rect;
  12. - moveBy:(NXCoord)dx :(NXCoord)dy inViewRect:(NXRect *)rect;
  13. - mouseHit:(NXPoint *)location;
  14. - drawSelf;
  15. - drawInDirtyRect:(NXRect *)rect;
  16.  
  17. @end